﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace UFIDA.U9.CUST.AITBarCodeRest
{
	/// <summary>
	/// AIT条码转换DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "UFIDA.U9.CUST.AITBarCodeRest")]
	[Serializable]
	public partial class AITBarCodeTransDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public AITBarCodeTransDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
					SrcDocLineNo= 0; 
							OutQty=0m; 
		
					InQty=0m; 

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public AITBarCodeTransDTOData(  System.String barCode  , System.String srcDocNo  , System.Int32 srcDocLineNo  , System.Decimal outQty  , System.String srcDocName  , System.Decimal inQty  )
		{
			initData();
			this.BarCode = barCode;
			this.SrcDocNo = srcDocNo;
			this.SrcDocLineNo = srcDocLineNo;
			this.OutQty = outQty;
			this.SrcDocName = srcDocName;
			this.InQty = inQty;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 条码
		/// AIT条码转换DTO.Misc.条码
		/// </summary>
		private System.String m_barCode ;
		[DataMember(IsRequired=false)]
		public System.String BarCode
		{
			get	
			{	
				return m_barCode ;
			}
			set	
			{	
				m_barCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单号
		/// AIT条码转换DTO.Misc.来源单号
		/// </summary>
		private System.String m_srcDocNo ;
		[DataMember(IsRequired=false)]
		public System.String SrcDocNo
		{
			get	
			{	
				return m_srcDocNo ;
			}
			set	
			{	
				m_srcDocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源行号
		/// AIT条码转换DTO.Misc.来源行号
		/// </summary>
		private System.Int32 m_srcDocLineNo ;
		[DataMember(IsRequired=false)]
		public System.Int32 SrcDocLineNo
		{
			get	
			{	
				return m_srcDocLineNo ;
			}
			set	
			{	
				m_srcDocLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 出库数量
		/// AIT条码转换DTO.Misc.出库数量
		/// </summary>
		private System.Decimal m_outQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal OutQty
		{
			get	
			{	
				return m_outQty ;
			}
			set	
			{	
				m_outQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单据名称
		/// AIT条码转换DTO.Misc.来源单据名称
		/// </summary>
		private System.String m_srcDocName ;
		[DataMember(IsRequired=false)]
		public System.String SrcDocName
		{
			get	
			{	
				return m_srcDocName ;
			}
			set	
			{	
				m_srcDocName = value ;	
			}
		}
			
		

		/// <summary>
		/// 入库数量
		/// AIT条码转换DTO.Misc.入库数量
		/// </summary>
		private System.Decimal m_inQty ;
		[DataMember(IsRequired=false)]
		public System.Decimal InQty
		{
			get	
			{	
				return m_inQty ;
			}
			set	
			{	
				m_inQty = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
												
		#endregion 
	} 	
}
